﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bai18_C_Sharp
{
    class CRectangle:CPolygon{
        public CRectangle(int w,int h):base(w){
            height=h;
        }
        public int area(){
            return(width*height);
        }
    }
}
